[AS3] htmlText not showing bold or italics font
Posted
by Conor
on Stack Overflow
See other posts from Stack Overflow
or by Conor
Published on 2010-05-11T00:39:20Z
Indexed on
2010/05/11
0:44 UTC
Read the original article
Hit count: 347
So I have a MovieClip asset with a dynamic textfield sitting inside of it. I export my .fla as a .swc to use within Flash Builder 4, and create instances of the asset with code, populating the text dynamically from XML.
My issue is that even though I have htmlText enabled, bold and italics tags don't appear to be working. I have a feeling it is because when I created the asset in Flash CS4, the text field makes you specify the font, and the subset of that to use (Regular, Bold, Oblique, etc).
Is there any way to get the htmlText to render bold and italics tags properly without having to completely rethink the way I'm creating all these fields?
© Stack Overflow or respective owner